/**
 * Copyright (c) 2005 - 2007 FeyaSoft Corp. All Rights Reserved.
 */
package com.feyaSoft.home.dao.demouser;

import com.feyaSoft.home.dao.base.BaseSearchResult;
import com.feyaSoft.home.hibernate.demouser.Demouser;

/**
 * @author Fenqiang Zhuang
 * @Apr 25, 2007
 *
 * This file is used to define interface for DAO
 */
public interface DemouserDao {
	public BaseSearchResult getDemouserList(
			DemouserSearchCriteria searchCriteria) throws Exception;
	public Demouser loadDemouserById(Long id) throws Exception;
	public Long saveOrUpdate(Demouser demouser) throws Exception;
	public Demouser loadDemouserByUsername(String username) throws Exception;
	public void delete(Demouser demouser) throws Exception;
}
